import request from '@/utils/request'

/**
 * 获取表白墙列表
 * @param params 
 * @returns 
 */
export const getVindicateList = (params) => {
    return request({
        url: 'confessions/list',
        method: 'GET',
        params
    })
}

/**
 * 获取表白墙详情
 * @param id 
 * @returns 
 */
export const getVindicateDetail = (id) => {
    return request({
        url: `confessions/detail/${id}`,
        method: 'GET'
    })
}